/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.service.impl;

import java.util.List;

import com.sasis.service.impl.BaseManager;
import com.sasis.model.FlightAdjustSuperfluity;
import com.sasis.dao.FlightAdjustSuperfluityDao;
import com.sasis.service.FlightAdjustSuperfluityManager;

import com.sasis.util.PageList;
import com.sasis.util.PageRequest;

public class FlightAdjustSuperfluityManagerImpl extends BaseManager implements FlightAdjustSuperfluityManager {
    private FlightAdjustSuperfluityDao dao;

    /**
     * Set the Dao for communication with the data layer.
     * @param dao
     */
    public void setFlightAdjustSuperfluityDao(FlightAdjustSuperfluityDao dao) {
        this.dao = dao;
    }

    /**
     * @see com.sasis.service.FlightAdjustSuperfluityManager#getFlightAdjustSuperfluitys(com.sasis.model.FlightAdjustSuperfluity)
     */
    public List getFlightAdjustSuperfluitys(final FlightAdjustSuperfluity flightAdjustSuperfluity) {
        return dao.getFlightAdjustSuperfluitys(flightAdjustSuperfluity);
    }

    /**
     * @see com.sasis.service.FlightAdjustSuperfluityManager#getFlightAdjustSuperfluity(String id)
     */
    public FlightAdjustSuperfluity getFlightAdjustSuperfluity(final String id) {
        return dao.getFlightAdjustSuperfluity(new Integer(id));
    }

    /**
     * @see com.sasis.service.FlightAdjustSuperfluityManager#saveFlightAdjustSuperfluity(FlightAdjustSuperfluity flightAdjustSuperfluity)
     */
    public int saveFlightAdjustSuperfluity(FlightAdjustSuperfluity flightAdjustSuperfluity) {
       return dao.saveFlightAdjustSuperfluity(flightAdjustSuperfluity);
    }

    /**
     * @see com.sasis.service.FlightAdjustSuperfluityManager#removeFlightAdjustSuperfluity(String id)
     */
    public void removeFlightAdjustSuperfluity(FlightAdjustSuperfluity flightAdjustSuperfluity) {
        dao.removeFlightAdjustSuperfluity( flightAdjustSuperfluity);
    }
    public PageList queryForPageList(String listStatementId,  
    		Object parameterObject, PageRequest pageRequest){
	return dao.queryForPageList(listStatementId,   parameterObject, pageRequest);
    }
}
